<template>
  <div class="h5-wrapper">
    <div class="content">
      <router-view></router-view>
    </div>
    <van-tabbar route>
      <van-tabbar-item to="/home/article" icon="home-o">面经</van-tabbar-item>
      <van-tabbar-item to="/home/collect" icon="search">收藏</van-tabbar-item>
      <van-tabbar-item to="/home/like" icon="friends-o">喜欢</van-tabbar-item>
      <van-tabbar-item to="/home/user" icon="setting-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'LayoutPage'
}
</script>

<style>
body{
  margin: 0;
  padding: 0;
}
</style>
<style lang="less" scoped>
.h5-wrapper {
  .content {
    margin-bottom: 51px;
  }
}
</style>
